package com.fruit.pojo.order;

import java.math.BigDecimal;

/**
 * 
* 类名称：订单
* @version 1.0
 */
public class OrderGoods {
	
	
	   //订单商品表对应字段
		private long id;//主键id
		private long orderId;//订单id
		private int goodsId;
		private int classId;//分类ID
		private String goodsCode;//产品编码
		private String title;//商品标题
		private String subTitle;//商品副标题
		private String goodsThumb;//商品图片
		private BigDecimal tradePrice;//批发价
		private BigDecimal retailPrice;//零售价
		private BigDecimal bidPrice;//进价
		private String isAdvanceState;//是否预售
		private int number;//数量
		private int unitNumber;//计量单位数量
		private String unit;//计量单位
		private String buyUnit;//购买单位
		private String spec;//规格
		private String specDesc;//规格描述
		
		private BigDecimal goodsOffPrice;
		private BigDecimal returnPrice;

		public long getId() {
			return id;
		}
		public void setId(long id) {
			this.id = id;
		}

		public long getOrderId() {
			return orderId;
		}
		public void setOrderId(long orderId) {
			this.orderId = orderId;
		}
		public int getGoodsId() {
			return goodsId;
		}
		public void setGoodsId(int goodsId) {
			this.goodsId = goodsId;
		}
		public int getClassId() {
			return classId;
		}
		public void setClassId(int classId) {
			this.classId = classId;
		}
		public String getGoodsCode() {
			return goodsCode;
		}
		public void setGoodsCode(String goodsCode) {
			this.goodsCode = goodsCode;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getSubTitle() {
			return subTitle;
		}
		public void setSubTitle(String subTitle) {
			this.subTitle = subTitle;
		}
		public String getGoodsThumb() {
			return goodsThumb;
		}
		public void setGoodsThumb(String goodsThumb) {
			this.goodsThumb = goodsThumb;
		}
		public BigDecimal getTradePrice() {
			return tradePrice;
		}
		public void setTradePrice(BigDecimal tradePrice) {
			this.tradePrice = tradePrice;
		}
		public BigDecimal getRetailPrice() {
			return retailPrice;
		}
		public void setRetailPrice(BigDecimal retailPrice) {
			this.retailPrice = retailPrice;
		}
		public BigDecimal getBidPrice() {
			return bidPrice;
		}
		public void setBidPrice(BigDecimal bidPrice) {
			this.bidPrice = bidPrice;
		}
		public String getIsAdvanceState() {
			return isAdvanceState;
		}
		public void setIsAdvanceState(String isAdvanceState) {
			this.isAdvanceState = isAdvanceState;
		}
		public int getNumber() {
			return number;
		}
		public void setNumber(int number) {
			this.number = number;
		}
		public int getUnitNumber() {
			return unitNumber;
		}
		public void setUnitNumber(int unitNumber) {
			this.unitNumber = unitNumber;
		}
		public String getUnit() {
			return unit;
		}
		public void setUnit(String unit) {
			this.unit = unit;
		}
		public String getBuyUnit() {
			return buyUnit;
		}
		public void setBuyUnit(String buyUnit) {
			this.buyUnit = buyUnit;
		}
		public String getSpec() {
			return spec;
		}
		public void setSpec(String spec) {
			this.spec = spec;
		}
		public String getSpecDesc() {
			return specDesc;
		}
		public void setSpecDesc(String specDesc) {
			this.specDesc = specDesc;
		}
		public BigDecimal getGoodsOffPrice() {
			return goodsOffPrice;
		}
		public void setGoodsOffPrice(BigDecimal goodsOffPrice) {
			this.goodsOffPrice = goodsOffPrice;
		}
		public BigDecimal getReturnPrice() {
			return returnPrice;
		}
		public void setReturnPrice(BigDecimal returnPrice) {
			this.returnPrice = returnPrice;
		}
	
}
